/*
 * DocumentNavigationPanel.java
 *
 * Created on 24 Июнь 2008 г., 0:49
 */

package pm.gui.components;

/**
 * @author Администратор
 */
public class DocumentNavigationPanel extends javax.swing.JPanel {

	/**
	 * Creates new form DocumentNavigationPanel
	 */
	public DocumentNavigationPanel() {
		initComponents();
	}

	/**
	 * This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
	// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {

		nextPageButton = new javax.swing.JButton();
		previousPageButton = new javax.swing.JButton();
		printButton = new javax.swing.JButton();
		backButton = new javax.swing.JButton();

		java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("pm/gui/components/Bundle"); // NOI18N
		nextPageButton.setText(bundle.getString("DocumentNavigationPanel.nextPageButton.text")); // NOI18N

		previousPageButton.setText(bundle.getString("DocumentNavigationPanel.previousPageButton.text")); // NOI18N

		printButton.setText(bundle.getString("DocumentNavigationPanel.printButton.text")); // NOI18N

		backButton.setText(bundle.getString("DocumentNavigationPanel.backButton.text")); // NOI18N

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
		this.setLayout(layout);
		layout.setHorizontalGroup(
				layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(layout.createSequentialGroup()
						.addContainerGap()
						.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
								.addComponent(nextPageButton)
								.addComponent(previousPageButton)
								.addComponent(printButton)
								.addComponent(backButton))
						.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
		);

		layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[]{backButton, nextPageButton, previousPageButton, printButton});

		layout.setVerticalGroup(
				layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(layout.createSequentialGroup()
						.addContainerGap()
						.addComponent(nextPageButton)
						.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
						.addComponent(previousPageButton)
						.addGap(44, 44, 44)
						.addComponent(printButton)
						.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 136, Short.MAX_VALUE)
						.addComponent(backButton)
						.addContainerGap())
		);
	}// </editor-fold>//GEN-END:initComponents


	// Variables declaration - do not modify//GEN-BEGIN:variables
	public javax.swing.JButton backButton;
	public javax.swing.JButton nextPageButton;
	public javax.swing.JButton previousPageButton;
	public javax.swing.JButton printButton;
	// End of variables declaration//GEN-END:variables

}
